package com.lanou.pianke.piece.web.entity;

public class Pcomment {
    private Long id;
    private String pcomment_id;
    private String pieceid;
    private Long pcomment_time;
    private String pcomment_content;
    private Long uid;
    private Long pauthor_id;
    private Integer isreaded;
    private Integer pcomment_status;

    public Pcomment() {
    }


    public Pcomment(String pieceid, Long pcomment_time, String pcomment_content, Long uid,Long pauthor_id) {
        this.pieceid = pieceid;
        this.pcomment_time = pcomment_time;
        this.pcomment_content = pcomment_content;
        this.uid = uid;
        this.pauthor_id = pauthor_id;
    }

    @Override
    public String toString() {
        return "Pcomment{" +
                "id=" + id +
                ", pcomment_id='" + pcomment_id + '\'' +
                ", pieceid='" + pieceid + '\'' +
                ", pcomment_time=" + pcomment_time +
                ", pcomment_content='" + pcomment_content + '\'' +
                ", uid=" + uid +
                ", pauthor_id=" + pauthor_id +
                ", isreaded=" + isreaded +
                ", pcomment_status=" + pcomment_status +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPcomment_id() {
        return pcomment_id;
    }

    public void setPcomment_id(String pcomment_id) {
        this.pcomment_id = pcomment_id;
    }

    public String getPieceid() {
        return pieceid;
    }

    public void setPieceid(String pieceid) {
        this.pieceid = pieceid;
    }

    public Long getPcomment_time() {
        return pcomment_time;
    }

    public void setPcomment_time(Long pcomment_time) {
        this.pcomment_time = pcomment_time;
    }

    public String getPcomment_content() {
        return pcomment_content;
    }

    public void setPcomment_content(String pcomment_content) {
        this.pcomment_content = pcomment_content;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Long getPauthor_id() {
        return pauthor_id;
    }

    public void setPauthor_id(Long pauthor_id) {
        this.pauthor_id = pauthor_id;
    }

    public Integer getIsreaded() {
        return isreaded;
    }

    public void setIsreaded(Integer isreaded) {
        this.isreaded = isreaded;
    }

    public Integer getPcomment_status() {
        return pcomment_status;
    }

    public void setPcomment_status(Integer pcomment_status) {
        this.pcomment_status = pcomment_status;
    }
}
